package com;

import com.service.impl.UserServieImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("com");

        UserServieImpl userServie = context.getBean(UserServieImpl.class);
        userServie.delete();
        //要进行切入：要解决以下问题：
        //1.把谁切到哪里？
        //2.之前之后的问题？

        userServie.update();
    }
}
